/**
 * 
 */
package tests;

import jmunit.framework.cldc11.TestCase;

/**
 * @author Marco
 *
 */
public class TerminalTests extends TestCase {

	/**
	 * The default constructor. It just transmits the necessary informations to
	 * the superclass.
	 * 
	 * @param totalOfTests the total of test methods present in the class.
	 * @param name this testcase's name.
	 */
	public TerminalTests() {
		super(6, "TerminalTests");
	}

	/**
	 * Test for method: void carrega().
	 * 
	 * @see horarios.Terminal#carrega()
	 */
	public void carrega1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setNomeTerminal(String nomeTerminal).
	 * 
	 * @see horarios.Terminal#setNomeTerminal(String nomeTerminal)
	 */
	public void setNomeTerminal1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: String getNomeTerminal().
	 * 
	 * @see horarios.Terminal#getNomeTerminal()
	 */
	public void getNomeTerminal1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void setListaOnibus(Vector listaOnibus).
	 * 
	 * @see horarios.Terminal#setListaOnibus(Vector listaOnibus)
	 */
	public void setListaOnibus1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: Vector getListaOnibus().
	 * 
	 * @see horarios.Terminal#getListaOnibus()
	 */
	public void getListaOnibus1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * Test for method: void adicionaOnibus(Onibus novoOnibus).
	 * 
	 * @see horarios.Terminal#adicionaOnibus(Onibus novoOnibus)
	 */
	public void adicionaOnibus1Test() {
		fail("Not Yet Implemented.");
	}

	/**
	 * A empty method used by the framework to initialize the tests. If there's
	 * 5 test methods, the setUp is called 5 times, one for each method. The
	 * setUp occurs before the method's execution, so the developer can use it
	 * to any necessary initialization. It's necessary to override it, however.
	 * 
	 * @throws Throwable anything that the initialization can throw.
	 */
	public void setUp() throws Throwable {
	}

	/**
	 * A empty mehod used by the framework to release resources used by the
	 * tests. If there's 5 test methods, the tearDown is called 5 times, one for
	 * each method. The tearDown occurs after the method's execution, so the
	 * developer can use it to close something used in the test, like a
	 * nputStream or the RMS. It's necessary to override it, however.
	 */
	public void tearDown() {
	}

	/**
	 * This method stores all the test methods invocation. The developer must
	 * implement this method with a switch-case. The cases must start from 0 and
	 * increase in steps of one until the number declared as the total of tests
	 * in the constructor, exclusive. For example, if the total is 3, the cases
	 * must be 0, 1 and 2. In each case, there must be a test method invocation.
	 * 
	 * @param testNumber the test to be executed.
	 * @throws Throwable anything that the executed test can throw.
	 */
	public void test(int testNumber) throws Throwable {
		switch (testNumber) {
		case 0:
			carrega1Test();
			break;
		case 1:
			setNomeTerminal1Test();
			break;
		case 2:
			getNomeTerminal1Test();
			break;
		case 3:
			setListaOnibus1Test();
			break;
		case 4:
			getListaOnibus1Test();
			break;
		case 5:
			adicionaOnibus1Test();
			break;
		}
	}

}
